module.exports = function(type){
    return {
        "post": {
            id: type.id(),
            title: type.string(),
            text: type.string(),
            object: type.object(),
            objects: type.objects(),
            create_date: type.date(),
            is_removed: type.boolean()
        },
        "users": {
            id: type.id(),
            title: type.string(),
            text: type.string(),
            object: type.object(),
            objects: type.objects(),
            create_date: type.date(),
            is_removed: type.boolean()
        }
    }
};